package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;
import com.rockcent.mall.lib.domain.Merchant;
import com.rockcent.mall.lib.domain.Product;
import com.rockcent.mall.lib.domain.enumclass.FavoriteType;

import java.util.List;

/**
 * Created by zhangjh on 2016/11/4.
 */
public class FavoriteDto {
    /**
     * 客户ID
     */
    private Long customerId;
    /**
     * 收藏的产品
     */
    private List productList;
    /**
     * 收藏的商铺
     */
    private List<Merchant> merchantList;
    /**
     * 收藏类型，PRODUCT 产品,MERCHANT 商铺
     */
    private FavoriteType type;

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public List getProductList() {
        return productList;
    }

    public void setProductList(List productList) {
        this.productList = productList;
    }

    public List<Merchant> getMerchantList() {
        return merchantList;
    }

    public void setMerchantList(List<Merchant> merchantList) {
        this.merchantList = merchantList;
    }

    public FavoriteType getType() {
        return type;
    }

    public void setType(FavoriteType type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "FavoriteDto{" +
                "customerId=" + customerId +
                ", productList=" + productList +
                ", merchantList=" + merchantList +
                ", type=" + type +
                '}';
    }
}
